/* Copyright 2014 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* This sheet is appended to html.css before parsing which means the selectors
   below are in the default html namespace:

   @namespace "http://www.w3.org/1999/xhtml"
*/

select, input[type="color" i][list] {
    /* TODO(tkent): Use ButtonFace and border same as buttons. */
    background-color: #f8f8f8;
    border: 1px solid #a6a6a6;
}

select:-internal-list-box  {
    background-color: white;
    border: 1px solid #999999;
}

input::-webkit-inner-spin-button {
    align-self: center;
}

input[type="button" i],
input[type="submit" i],
input[type="reset" i],
input[type="file" i]::-webkit-file-upload-button,
button {
    /* The color is similar to the border of OSX 10.12 buttons. */
    border-color: #d8d8d8 #d1d1d1 #bababa;
    border-style: solid;
    border-width: 1px;
    /* Fixed padding provided by ThemeMac::ControlPadding() - 1px for broder */
    padding: 1px 7px 2px;
}

:-internal-spatial-navigation-interest {
    outline: auto 5px -webkit-focus-ring-color;
    box-shadow: none !important
}

:focus-visible {
    outline: auto 5px -webkit-focus-ring-color
}
